/* Basic Elements */
* {
	margin: 0;
	padding: 0;
}
a img {
	border: 0;
}

h1, h2, h3, h4, h5 { font-weight:normal; }

body {
	overflow: hidden;
	font-family: 'Sylfaen';
	font-size: 14px;
}

.clearfix:after{
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  font-size: 0;
}


/* Wrapper */
div#wrapper {
	margin: 0 auto;
	width: 520px;
}

/* Header */
div#header {
	background:url('../images/header.png') no-repeat;
	position: relative;
	z-index:2;
}
/* Logo */
div#logo {
	position: absolute;
	float:left;
}

div#logo a {
	display:block;
	text-indent:-9999px;
}

/* Navigation */
div#navigation {
	background:url('../images/navigation-bg.png') no-repeat;
	height:48px;
	line-height:48px;
	position: relative;
	z-index:2;
}

div#navigation ul li {
	float:left;
	list-style: none;
}

div#navigation ul li a {
	background:url('../images/navigation.png') no-repeat;
	display:block;
	width:125px;
	height:48px;
	text-indent:-9999px;
}

div#navigation ul li#question-btn a {
	background-position:0 0;
	width:131px;
}

div#navigation ul li#question-btn a:hover, div#navigation ul li#question-btn-active a {
	background-position: 0 -48px;
	width:131px;
}

div#navigation ul li#rating-btn a {
	background-position:-131px 0;
	width:139px;
}


div#navigation ul li#rating-btn a:hover,  div#navigation ul li#rating-btn-active a{
	background-position:-131px -48px;
	width:139px;
}

div#navigation ul li#prizes-btn a {
	background-position:-271px 0;
}

div#navigation ul li#prizes-btn a:hover, div#navigation ul li#prizes-btn-active a {
	background-position:-271px -48px;
}

div#navigation ul li#rules-btn a {
	background-position:-395px 0;
}

div#navigation ul li#rules-btn a:hover, div#navigation ul li#rules-btn-active a {
	background-position:-395px -48px;
}

/* Content */
div#content {
	border:1px solid #e9e8e8;
	border-top:0;
	margin-top:-10px;
}

div.content-radius {
	-moz-border-radius:0 0 5px 5px;
	-webkit-border-radius:0 0 5px 5px;
	border-radius:0 0 5px 5px;
	behavior: url('./js/css3/PIE.htc');
}

/* Content Inner */
div#content-inner {
	background:url('../images/content-inner-bg.png') top center no-repeat;
	padding:20px 15px;
}

div#content-inner h2 { font-size:18px; }
div#content-inner h3 { font-size:15px; }

/* Stars */
div.stars {
	background:url('../images/stars-bg.png') no-repeat;
	padding:40px 20px;
	text-align:center;
}

div.stars h2 {
	margin-bottom:10px;
	font-size:24px;
}

/* Icon */
div.icon {
	background:url('../images/icon.png') no-repeat;
	cursor:help;
	height:80px;
	margin:0 auto;
	margin-bottom:10px;
	width:80px;
	text-indent:-9999px;
}

/* Start Button Area */
div#start-btn {
	background:url('../images/start-btn-bg.png') repeat-x;
	border-top:1px solid #ededed;
}

div#start-btn a {
	background:url('../images/start-btn.png') no-repeat;
	display:block;
	margin:0 auto;
	height:37px;
	width:201px;
	text-indent:-9999px;
}

div#start-btn a:hover { background-position:-201px 0; }

div#start-btn-inner {
	background:url('../images/start-btn-inner-bg.png') bottom left no-repeat;
	padding:40px 0;
}

/* Rules */
div#rules { padding-top:20px; }
div#rules p { padding-left: 40px; margin-bottom:20px; position: relative; }

span.rules-number {
	background:url('../images/rules-number-bg.png') no-repeat;
	color:#1d4100;
	top:0;
	left:0;
	position: absolute;
	width:30px;
	height:28px;
	line-height:28px;
	text-align: center;
	text-shadow:0 1px 0 #b7dd97;
}

/* Rating */
div#rating {
	margin:0 1px;
	padding-top:10px;
}

div#rating h3 {
	background:url('../images/rating-header-bg.png') bottom left repeat-x;
	font-size:15px;
	padding:5px 10px 8px;
}

div#rating div.item {
	background:url('../images/rating-item-bg.png') repeat-x;
	height:77px;
	line-height:70px;
	position: relative;
}

div#rating div.item div.places {
	background:url('../images/places-icon.png') no-repeat;
	cursor:help;
	display:block;
	height:34px;
	left:95px;
	position:absolute;
	text-indent:-9999px;
	top:15px;
	width:32px;
}

div#rating div.item div#place-1 { background-position:-4px -4px; }
div#rating div.item div#place-2 { background-position:-65px -4px; }
div#rating div.item div#place-3 { background-position:-126px -4px; }


div#rating div.item div.position {
	left:0;
	position:absolute;
	text-align:center;
	width:55px;
}

div#rating div.item div.picture {
	background:url('../images/profile-bg.png') no-repeat;
	height:58px;
	left:55px;	
	padding:3px 0 0 4px;
	position: absolute;
	top:7px;
	width:58px;
}

div#rating div.item div.name {
	left:140px;
	position: absolute;
}

div#rating div.item div.name a, div#rating div.item div.name a:visited {
	color:#616161;
	text-decoration:none;
} 

div#rating div.item div.name a:hover {
	color:#494949;
	border-bottom:1px dashed #494949;
}

div#rating div.item div.time {
	font-size:16px;
	right:0;
	position: absolute;
	width:80px;
}

/* Rating Search */
div#rating-search {
	float:right;
	padding-top:25px;
}

div#rating-search input#search {
	background:#fff;
	border:1px solid #e9e8e8;
	color:#b6b6b6;
	float:left;
	font-size:11px;
	padding:2px 5px 3px;
	width:100px;
}

div#rating-search input#search-btn {
	background:red url('../images/search-btn.png') no-repeat;
	border:0;
	cursor:pointer;
	display:block;
	float:left;
	height:20px;
	width:20px;
	text-indent:-9999px;
}

/* Pagination */
div#pagination {
	padding:15px 0;
	text-align:center;
	font-size:12px;
}

div#pagination ul li {
	 display:inline-block;
	 margin:0 2px;
}

div#pagination ul li a {
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	display:block;
	width:22px;
	height:22px;
	line-height:22px;
	text-align:center;
	text-decoration:none;
}

div#pagination ul li#prev-btn a, div#pagination ul li#next-btn a {
	width:auto;
	border:none
}

div#pagination ul li#prev-btn a:hover, div#pagination ul li#next-btn a:hover {
	background:none;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}

/* Prizes */
div#prizes {
	background:url('../images/content-inner-bg.png') top center no-repeat;
	padding-top:20px;
}

div#prizes h2  { font-size:18px; }
div#prizes h3  { font-size:15px; margin-bottom:20px; }
div#prizes h2, div#prizes h3 { margin-left:15px; }

div.prize {
	text-align:center;
	float:left;
	padding-bottom:20px;
}

div.prize-separator {
	background:url('../images/prize-bg.png') bottom left no-repeat;
}

div.prize span.prize-name { 
	font-family:'Myriad Pro';
	font-size:26px;
}

/* Countdown */
div#counter-container {
	background:url('../images/counter-container-bg.png') no-repeat;
	height:65px;
	width:408px;
	margin:0 auto;
	padding-top:23px;
}

div#counter {
	padding-left:7px;
	margin:0 auto;
	width:368px;
}

div.cntSeparator {
	width:46px;
	margin:0;
	visibility: hidden;
}

/* Question Form */
div#question-form {
	background:url("../images/content-inner-bg.png") top center no-repeat;
	padding-top:20px;
}

/* Question Media */
div#question-media {
	background:url('../images/q-media-bg.png') bottom center no-repeat;
	margin:0 auto;
	width:500px;
	padding-bottom:11px;
}

/* Question Details */
div#question-details {
	background:url('../images/q-details-bg.png') bottom right no-repeat;
}

div#question-details h2 {
	font-size: 15px;
	text-align:center;
	margin:0 10px;
	padding-bottom:10px;
}

div#question-details p {	
	padding:15px 20px;
	font-size:12px;
}

div#question-details p:hover {
	background:url('../images/answer-h-bg.png') bottom left repeat-x;
}

div#question-details p label {
	padding-left:5px;
}

div#question-answers {
	background:url('../images/q-title-bg.png') center top no-repeat;
}

div#question-answers textarea.textarea-answer {
	width:96%;
	outline:none;
	padding:2%;
	border:1px solid #E9E8E8;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	overflow:hidden;
}

div#question-answers textarea.single { height:16px; }
div#question-answers textarea.multiple { height:80px; }

div.sortable p {	
	padding:0 !important;
	cursor:move;
}

div.sortable p span {
	display:block;
	padding:15px 20px;
}

/* Answer Button */
div#answer-btn {
	float:right;
	margin:10px;
}

div#answer-btn input {
	background:url('../images/answer-btn.png') no-repeat;
	border:0;
	display:block;
	cursor: pointer;
	text-indent:-9999px;
}

/* Footer */
div#footer {
	padding: 10px;
}
/* Copyright */
div#copyright {
	color: #777777;
	float: left;
}
div#copyright a, div#copyright a:visited {
	color: #777777;
	text-decoration: none;
}
div#copyright a:hover {
	color: #a6a6a6;
}
/* Apps Button */
div#apps {
	float: right;
	padding-top: 4px;
}
a#apps-btn {
	background: url('../images/apps-btn.png') no-repeat;
	display: block;
	height: 16px;
	width: 112px;
	text-indent: -9999px;
}
a#apps-btn:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE 8 */
	filter: alpha(opacity=70); /* IE 5-7 */
	-moz-opacity: 0.7; /* Netscape */
	-khtml-opacity: 0.7; /* Safari 1.x */
	opacity: 0.7; /* Good browsers */
}
